package com.todo.strategy.online.iface.request;

import com.todo.common.common.entity.CurrentUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/11/29 18:54
 * @description
 */
@Data
@Schema(title = "拷贝构建备忘录关联入参", description = "拷贝构建备忘录关联入参")
public class BuildMemoUserRelationByTemplateParam {

    private CurrentUser _user;

    @Schema(title = "模板id", description = "模板id")
    private Long memoTemplateId;

    /**
     * 关联计划Id
     */
    @Schema(title = "关联计划Id", description = "关联计划Id")
    private Long planId;

    public boolean baseCheck() {
        if (memoTemplateId == null || planId == null){
            return false;
        }
        return true;
    }
}
